package com.gnerv.author.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gnerv.author.dto.CatalogDTO;
import com.gnerv.author.entity.Catalog;

import java.util.List;

/**
 * <p>
 * 博客平台-栏目表 服务类
 * </p>
 *
 * @author Gnerv LiGen
 * @since 2019-07-15
 */
public interface ICatalogService extends IService<Catalog> {
    boolean createCatalog(Catalog catalog);

    boolean deleteCatalog(String bId);

    boolean updateCatalog(Catalog catalog);

    CatalogDTO selectCatalog(String bId);

    List<CatalogDTO> listCatalog(CatalogDTO catalogDTO);
}
